package game.model.request;

import common.model.enums.UserProductionTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 米泽鹏
 * @since 2022-3-5 下午 12:26
 */
@Data
public class GenerateProductionNameRequest {

	@NotNull(message = "用户id不能为空")
	private Long userId;

	@NotNull(message = "产线图类型不能为空")
	private UserProductionTypeEnum type;

	@NotBlank(message = "产线名称不能为空")
	private String productionName;

}
